package com.robotserver.orders.service;

import com.robotserver.orders.entity.AlimmTokens;
import com.robotserver.orders.vo.TbkOrderTimeVO;
import com.taobao.api.TaobaoClient;
import com.taobao.api.response.TbkScOrderRefundGetResponse;
import com.taobao.api.response.TbkScRelationRefundResponse;

import java.util.List;

/**
 * @Auther: liuqi
 * @Date: 2021/4/8 11:14
 * @Description: 淘宝订单同步
 */
public interface TbOrderRefundSyncService {
    //modify by liuqi on 2021-03-11 10：34
    void threadSyncOrder_consumer(List<TbkOrderTimeVO> tbkOrderTimeVOList, AlimmTokens alimmTokens, TaobaoClient client);
    void syncAlimmUnitOrder(List<TbkOrderTimeVO> tbkOrderTimeVOList, AlimmTokens alimmTokens, TaobaoClient client);
    void syncTimeUnitOrder(TbkOrderTimeVO tbkOrderTime, AlimmTokens alimmTokens, TaobaoClient client, Long pageNo);
    void orderAdd(TbkScRelationRefundResponse.Result result, AlimmTokens alimmTokens);
    void syncTimeUnitOrder_new(TbkOrderTimeVO tbkOrderTime, AlimmTokens alimmTokens, TaobaoClient client, Long pageNo, String positionIndex);
    void orderAdd_new(TbkScOrderRefundGetResponse.PublisherRefundOrderDTO result, AlimmTokens alimmTokens);
}
